Preparing the Docker Image from the Source

Building a docker image from a source is relatively easy. This example shows the steps that are required to build and deploy the Palette Config application. As a prerequisite, the docker must be installed on the host machine, where the Service Layer application container will be built.

Prerequisites

Before beginning the installation steps, the following components and binaries should be downloaded from My Oracle Support:

  • TomEE: 10.1.x Plume.

    TomEE can be downloaded from this location: https://tomee.apache.org/download.html (Version: TomEE Plume - 10.1.x)

    Note: Rename the downloaded package to tomee.tar.gz. (If you are using any other version of TomEE Plume, Please update the Dockerfile with the version used.)

  • By default, the Dockerfile is configured with Oracle Proxy. Please comment the proxy if you are outside the Oracle network or update it as per your proxy configuration.

  • # Comment https_proxy outside the ORACLE network

  • ENV https_proxy www-proxy-hqdc.us.oracle.com:80

  • Administrative rights to the server

  • Oracle Insurance Policy Administration V12.2.0.0 Media Pack

  • Download the required Database driver and copy the driver to exteranallibs/palette_shared/lib directory:

    • Oracle – The necessary driver, ojdbc17-23.6.0.24.10.jar , is included in the libs directory of the OIPA Media Pack. This file is not available for download. Contact your IT department if you need assistance locating these files. (Rename to ojdbc.jar)

      Note: Version 12.2.0.0 is also supported on Oracle 19c, which is LTS (Long Term Support). If Oracle 19c is used, the corresponding supported ojdbc driver version shipped with Oracle database should be used in the step above.

    • IBM DB2 – db2jcc4 jar is included with the purchase of the DB2 software.(Rename to db2jcc4.jar)

    • Microsoft SQL Server- Use the compatible jdbc driver shipped with MS SQL Server software.